START TRANSACTION;
INSERT INTO `hosts` (`hostid`, `proxy_hostid`, `host`, `status`, `disable_until`, `error`, `available`, `errors_from`, `lastaccess`, `ipmi_authtype`, `ipmi_privilege`, `ipmi_username`, `ipmi_password`, `ipmi_disable_until`, `ipmi_available`, `snmp_disable_until`, `snmp_available`, `maintenanceid`, `maintenance_status`, `maintenance_type`, `maintenance_from`, `ipmi_errors_from`, `snmp_errors_from`, `ipmi_error`, `snmp_error`, `jmx_disable_until`, `jmx_available`, `jmx_errors_from`, `jmx_error`, `name`) VALUES (10084,NULL,'Zabbix server',1,0,'',0,0,0,-1,2,'','',0,0,0,0,NULL,0,0,0,0,0,'','',0,0,0,'','Zabbix server');
INSERT INTO `groups` (`groupid`, `name`, `internal`) VALUES (1,'Templates',0);
INSERT INTO `groups` (`groupid`, `name`, `internal`) VALUES (2,'Linux servers',0);
INSERT INTO `groups` (`groupid`, `name`, `internal`) VALUES (4,'Zabbix servers',0);
INSERT INTO `groups` (`groupid`, `name`, `internal`) VALUES (5,'Discovered hosts',1);
INSERT INTO `screens` (`screenid`, `name`, `hsize`, `vsize`, `templateid`) VALUES (16,'Zabbix server',2,2,NULL);
INSERT INTO `screens_items` (`screenitemid`, `screenid`, `resourcetype`, `resourceid`, `width`, `height`, `x`, `y`, `colspan`, `rowspan`, `elements`, `valign`, `halign`, `style`, `url`, `dynamic`, `sort_triggers`) VALUES (44,16,2,1,500,100,0,0,2,0,0,0,0,0,'',0,0);
INSERT INTO `drules` (`druleid`, `proxy_hostid`, `name`, `iprange`, `delay`, `nextcheck`, `status`) VALUES (2,NULL,'Local network','192.168.1.1-255',3600,0,1);
INSERT INTO `interface` (`interfaceid`, `hostid`, `main`, `type`, `useip`, `ip`, `dns`, `port`) VALUES (1,10084,1,1,1,'127.0.0.1','','10050');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (1,'Service state');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (2,'Host status');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (3,'Windows service state');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (4,'APC Battery Replacement Status');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (5,'APC Battery Status');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (6,'HP Insight System Status');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (7,'Dell Open Manage System Status');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (8,'SNMP interface status (ifOperStatus)');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (9,'SNMP device status (hrDeviceStatus)');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (10,'Zabbix agent ping status');
INSERT INTO `valuemaps` (`valuemapid`, `name`) VALUES (11,'SNMP interface status (ifAdminStatus)');
INSERT INTO `media_type` (`mediatypeid`, `type`, `description`, `smtp_server`, `smtp_helo`, `smtp_email`, `exec_path`, `gsm_modem`, `username`, `passwd`, `status`) VALUES (1,0,'Email','mail.company.com','company.com','zabbix@company.com','','','','',0);
INSERT INTO `media_type` (`mediatypeid`, `type`, `description`, `smtp_server`, `smtp_helo`, `smtp_email`, `exec_path`, `gsm_modem`, `username`, `passwd`, `status`) VALUES (2,3,'Jabber','','','','','','jabber@company.com','zabbix',0);
INSERT INTO `media_type` (`mediatypeid`, `type`, `description`, `smtp_server`, `smtp_helo`, `smtp_email`, `exec_path`, `gsm_modem`, `username`, `passwd`, `status`) VALUES (3,2,'SMS','','','','','/dev/ttyS0','','',0);
INSERT INTO `users` (`userid`, `alias`, `name`, `surname`, `passwd`, `url`, `autologin`, `autologout`, `lang`, `refresh`, `type`, `theme`, `attempt_failed`, `attempt_ip`, `attempt_clock`, `rows_per_page`) VALUES (1,'<%= scope.lookupvar('zabbix::params::username') %>','User','Administrator','<%= scope.lookupvar('zabbix::params::password_hash') %>','',1,0,'en_GB',30,3,'default',0,'',0,50);
INSERT INTO `users` (`userid`, `alias`, `name`, `surname`, `passwd`, `url`, `autologin`, `autologout`, `lang`, `refresh`, `type`, `theme`, `attempt_failed`, `attempt_ip`, `attempt_clock`, `rows_per_page`) VALUES (2,'guest','Default','User','d41d8cd98f00b204e9800998ecf8427e','',0,900,'en_GB',30,1,'default',0,'',0,50);
INSERT INTO `usrgrp` (`usrgrpid`, `name`, `gui_access`, `users_status`, `debug_mode`) VALUES (7,'Zabbix administrators',0,0,0);
INSERT INTO `usrgrp` (`usrgrpid`, `name`, `gui_access`, `users_status`, `debug_mode`) VALUES (8,'Guests',0,0,0);
INSERT INTO `usrgrp` (`usrgrpid`, `name`, `gui_access`, `users_status`, `debug_mode`) VALUES (9,'Disabled',0,1,0);
INSERT INTO `usrgrp` (`usrgrpid`, `name`, `gui_access`, `users_status`, `debug_mode`) VALUES (11,'Enabled debug mode',0,0,1);
INSERT INTO `usrgrp` (`usrgrpid`, `name`, `gui_access`, `users_status`, `debug_mode`) VALUES (12,'No access to the frontend',2,0,0);
INSERT INTO `scripts` (`scriptid`, `name`, `command`, `host_access`, `usrgrpid`, `groupid`, `description`, `confirmation`, `type`, `execute_on`) VALUES (1,'Ping','/bin/ping -c 3 {HOST.CONN} 2>&1',2,NULL,NULL,'','',0,1);
INSERT INTO `scripts` (`scriptid`, `name`, `command`, `host_access`, `usrgrpid`, `groupid`, `description`, `confirmation`, `type`, `execute_on`) VALUES (2,'Traceroute','/bin/traceroute {HOST.CONN} 2>&1',2,NULL,NULL,'','',0,1);
INSERT INTO `actions` (`actionid`, `name`, `eventsource`, `evaltype`, `status`, `esc_period`, `def_shortdata`, `def_longdata`, `recovery_msg`, `r_shortdata`, `r_longdata`) VALUES (2,'Auto discovery. Linux servers.',1,0,1,0,'','',0,'','');
INSERT INTO `actions` (`actionid`, `name`, `eventsource`, `evaltype`, `status`, `esc_period`, `def_shortdata`, `def_longdata`, `recovery_msg`, `r_shortdata`, `r_longdata`) VALUES (3,'Report problems to Zabbix administrators',0,0,1,3600,'{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME}\r\nTrigger status: {TRIGGER.STATUS}\r\nTrigger severity: {TRIGGER.SEVERITY}\r\nTrigger URL: {TRIGGER.URL}\r\n\r\nItem values:\r\n\r\n1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\r\n2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\r\n3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}',1,'{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME}\r\nTrigger status: {TRIGGER.STATUS}\r\nTrigger severity: {TRIGGER.SEVERITY}\r\nTrigger URL: {TRIGGER.URL}\r\n\r\nItem values:\r\n\r\n1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\r\n2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\r\n3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}');
INSERT INTO `operations` (`operationid`, `actionid`, `operationtype`, `esc_period`, `esc_step_from`, `esc_step_to`, `evaltype`) VALUES (2,2,4,0,1,1,0);
INSERT INTO `operations` (`operationid`, `actionid`, `operationtype`, `esc_period`, `esc_step_from`, `esc_step_to`, `evaltype`) VALUES (3,3,0,0,1,1,0);
INSERT INTO `opmessage` (`operationid`, `default_msg`, `subject`, `message`, `mediatypeid`) VALUES (3,1,'{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME}\r\nTrigger status: {TRIGGER.STATUS}\r\nTrigger severity: {TRIGGER.SEVERITY}\r\nTrigger URL: {TRIGGER.URL}\r\n\r\nItem values:\r\n\r\n1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\r\n2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\r\n3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}',NULL);
INSERT INTO `opgroup` (`opgroupid`, `operationid`, `groupid`) VALUES (1,2,2);
INSERT INTO `conditions` (`conditionid`, `actionid`, `conditiontype`, `operator`, `value`) VALUES (2,2,10,0,'0');
INSERT INTO `conditions` (`conditionid`, `actionid`, `conditiontype`, `operator`, `value`) VALUES (3,2,8,0,'9');
INSERT INTO `conditions` (`conditionid`, `actionid`, `conditiontype`, `operator`, `value`) VALUES (4,2,12,2,'Linux');
INSERT INTO `conditions` (`conditionid`, `actionid`, `conditiontype`, `operator`, `value`) VALUES (5,3,16,7,'');
INSERT INTO `conditions` (`conditionid`, `actionid`, `conditiontype`, `operator`, `value`) VALUES (6,3,5,0,'1');
INSERT INTO `config` (`configid`,`refresh_unsupported`,`work_period`,`alert_usrgrpid`,`discovery_groupid`) values ('1','600','1-5,09:00-18:00;','7','5');
INSERT INTO `graph_theme` (`graphthemeid`, `description`, `theme`, `backgroundcolor`, `graphcolor`, `graphbordercolor`, `gridcolor`, `maingridcolor`, `gridbordercolor`, `textcolor`, `highlightcolor`, `leftpercentilecolor`, `rightpercentilecolor`, `nonworktimecolor`, `gridview`, `legendview`) VALUES (1,'Original Blue','originalblue','F0F0F0','FFFFFF','333333','CCCCCC','AAAAAA','000000','222222','AA4444','11CC11','CC1111','E0E0E0',1,1);
INSERT INTO `graph_theme` (`graphthemeid`, `description`, `theme`, `backgroundcolor`, `graphcolor`, `graphbordercolor`, `gridcolor`, `maingridcolor`, `gridbordercolor`, `textcolor`, `highlightcolor`, `leftpercentilecolor`, `rightpercentilecolor`, `nonworktimecolor`, `gridview`, `legendview`) VALUES (2,'Black & Blue','darkblue','333333','0A0A0A','888888','222222','4F4F4F','EFEFEF','0088FF','CC4444','1111FF','FF1111','1F1F1F',1,1);
INSERT INTO `graph_theme` (`graphthemeid`, `description`, `theme`, `backgroundcolor`, `graphcolor`, `graphbordercolor`, `gridcolor`, `maingridcolor`, `gridbordercolor`, `textcolor`, `highlightcolor`, `leftpercentilecolor`, `rightpercentilecolor`, `nonworktimecolor`, `gridview`, `legendview`) VALUES (3,'Dark orange','darkorange','333333','0A0A0A','888888','222222','4F4F4F','EFEFEF','DFDFDF','FF5500','FF5500','FF1111','1F1F1F',1,1);
INSERT INTO `graph_theme` (`graphthemeid`, `description`, `theme`, `backgroundcolor`, `graphcolor`, `graphbordercolor`, `gridcolor`, `maingridcolor`, `gridbordercolor`, `textcolor`, `highlightcolor`, `leftpercentilecolor`, `rightpercentilecolor`, `nonworktimecolor`, `gridview`, `legendview`) VALUES (4,'Classic','classic','F0F0F0','FFFFFF','333333','CCCCCC','AAAAAA','000000','222222','AA4444','11CC11','CC1111','E0E0E0',1,1);
INSERT INTO `globalmacro` (`globalmacroid`, `macro`, `value`) VALUES (2,'{$SNMP_COMMUNITY}','public');
INSERT INTO `hosts_groups` (`hostgroupid`, `hostid`, `groupid`) VALUES (92,10084,4);
INSERT INTO `sysmaps` (`sysmapid`, `name`, `width`, `height`, `backgroundid`, `label_type`, `label_location`, `highlight`, `expandproblem`, `markelements`, `show_unack`, `grid_size`, `grid_show`, `grid_align`, `label_format`, `label_type_host`, `label_type_hostgroup`, `label_type_trigger`, `label_type_map`, `label_type_image`, `label_string_host`, `label_string_hostgroup`, `label_string_trigger`, `label_string_map`, `label_string_image`, `iconmapid`, `expand_macros`) VALUES (1,'Local network',680,200,NULL,0,0,1,1,1,0,50,1,1,0,2,2,2,2,2,'','','','','',NULL,1);
INSERT INTO `regexps` (`regexpid`, `name`, `test_string`) VALUES (1,'File systems for discovery','ext3');
INSERT INTO `regexps` (`regexpid`, `name`, `test_string`) VALUES (2,'Network interfaces for discovery','eth0');
INSERT INTO `regexps` (`regexpid`, `name`, `test_string`) VALUES (3,'Storage devices for SNMP discovery','/boot');
COMMIT;
